import { createRouter,createWebHistory } from "vue-router";

const routes = [
    {
        path:"/home",
        name:'首页',
        component:()=>import('../page/home.vue')
    },
    {
        path:"/",
        name:'登录',
        component:()=>import('../page/login.vue')
    },
]

const router = createRouter({
    history:createWebHistory(),
    routes:routes,
})

export default router